package view;

import java.awt.Dimension;
import javax.swing.JViewport;

public class Viewport extends JViewport 
{ protected Viewport()
  { super(); }
  protected Viewport(Dimension size)
  { this.setPreferredSize(size);
    this.setSize(size);
    this.setMinimumSize(size);
    this.setMaximumSize(size);
  }
}